﻿<Window x:Class="EPE.WPF.LoginForm"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="房地产价格评估系统" Height="320" Width="500" Icon="Resources/image/m.gif" WindowStartupLocation="CenterScreen" WindowStyle="None" >
    <Window.BorderBrush>
        <RadialGradientBrush>
            <GradientStop Color="#FFA251DA" Offset="0.291"/>
            <GradientStop Color="#FF627FBD" Offset="0.778"/>
        </RadialGradientBrush>
    </Window.BorderBrush>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="35"/>
            <RowDefinition Height="80"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="10"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="20"/>
            <RowDefinition Height="35"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="160"/>
            <ColumnDefinition Width="80"/>
            <ColumnDefinition Width="80" />
            <ColumnDefinition Width="80"/>
            <ColumnDefinition Width="60"/>

        </Grid.ColumnDefinitions>

        <Label Content="登录名" Grid.Row="2" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Right" Style="{StaticResource LabelStyle}"></Label>
        <Label Content="密码" Grid.Row="3" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Right" Style="{StaticResource LabelStyle}"></Label>
        <TextBox Grid.Row="2" Grid.Column="2" Grid.ColumnSpan="2" Height="22" Background="White" Name="txtLoginName" VerticalAlignment="Center"></TextBox>
        <PasswordBox Grid.Row="3" Grid.Column="2" Grid.ColumnSpan="2" Height="22" Name="txtPassword" VerticalAlignment="Center" ></PasswordBox>
        <Button Grid.Row="5" Grid.Column="1" Content="登录" Name="btnLogin" Width="60" VerticalAlignment="Center" Click="btnLogin_Click"></Button>
        <Button Grid.Row="5" Grid.Column="2" Content="配置" Name="btnConfig" Width="60" VerticalAlignment="Center" Click="btnConfig_Click"></Button>
        <Button Grid.Row="5" Grid.Column="3" Content="退出" Name="btnClose" Width="60"  VerticalAlignment="Center"  Click="btnClose_Click"></Button>
        <StackPanel Orientation="Horizontal"  Grid.Row="8" Grid.Column="0" Grid.ColumnSpan="5" HorizontalAlignment="Center" VerticalAlignment="Bottom">
            <Image  Height="17" Width="25"></Image>
            <Label Content="版权所有："  FontSize="16">
            </Label>
        </StackPanel>

    </Grid>
</Window>
